With the Script-wizard you can generate simple scripts reflecting the current environment,
In the upper section you define what happens in the script.
In the lower section the script will be displayed.
After clicking OK you can save the script under any location.
The documentation for the script commands are described in the dui.script section in this manual.